package factory;

/**
 * 创建具体工厂
 *
 * @author ycc
 * @date 2024/4/1
 */
public class CatFactory implements AnimalFactory {
    @Override
    public Animal createAnimal() {
        return new Cat();
    }
}
